package jy.hibernate.beans;

import java.util.Set;

/**
 * Employee entity
 * @author tingzi
 *
 */
public class Employee implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -3291567682824601004L;
	// Fields
	private Integer employee_id;//Ա��id
	private String user_name;//����
	private String name;//	��ʵ��
	private Integer u_sex=0;//�Ա� 0��ʾ�� 1��ʾŮ
	private String c_id;//	���֤����
	private String telephone;//�̶��绰
	private String mobile;//�ƶ��绰
	private String address;//��ַ
	private String qq;//Qqjϵ��ʽ
	private String msn;//	Msn
	private Set<Inport_store> inport_stores;
	private Set<Output_store> output_stores;

	public Set<Output_store> getOutput_stores() {
		return output_stores;
	}

	public void setOutput_stores(Set<Output_store> output_stores) {
		this.output_stores = output_stores;
	}

	public Set<Inport_store> getInport_stores() {
		return inport_stores;
	}

	public void setInport_stores(Set<Inport_store> inport_stores) {
		this.inport_stores = inport_stores;
	}

	public Integer getEmployee_id() {
		return employee_id;
	}

	public void setEmployee_id(Integer employee_id) {
		this.employee_id = employee_id;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getU_sex() {
		return u_sex;
	}

	public void setU_sex(Integer u_sex) {
		this.u_sex = u_sex;
	}

	public String getC_id() {
		return c_id;
	}

	public void setC_id(String c_id) {
		this.c_id = c_id;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getMsn() {
		return msn;
	}

	public void setMsn(String msn) {
		this.msn = msn;
	}
	/** full constructor */
	public Employee(String user_name,String name,String c_id,int u_sex,String telephone,String mobile,String address){
		this.user_name=user_name;
		this.name=name;
		this.c_id=c_id;
		this.u_sex=u_sex;
		this.telephone=telephone;
		this.mobile=mobile;
		this.address=address;
		
	}
	public String toString(){
		return "user_name:"+user_name+"\tname:"+name+"\tu_sex:"+u_sex+"\tc_id:"+c_id
		       +"telephone:"+telephone+"\tmobile:"+mobile+"\taddress:"+address+"\tqq:"+qq+"\tmsn:"+msn;
	}


}
